﻿
@{
    ViewBag.Title = "DemoInput";
}

<h2>DemoInput</h2>

<div>
    @using (Html.BeginForm("CheckInput", "TempData"))
    {
        <input type="text" name="name"/>
        <span style="color:red">@TempData["Error"]</span>
        <br/>
        <input type="submit" value="送出"/>
    }
</div>